﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Serialization;

namespace SerializeResults
{
    public class StepResult
    {

        [XmlElement("results")]
        public List<Result> results;

        public StepResult()
        {
            this.results = new List<Result>();
        }

        public StepResult(List<Result> results)
        {
            this.results = results;
        }

        public void addResult(Result result)
        {
            this.results.Add(result);
        }

    }
}
